/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package suministros.ejb30.TO;

import java.io.Serializable;

/**
 *
 * @author Renato
 */
public class CodigosInversionTO implements Serializable {
private String id_cod_inversion;
  private String descripcion;

  public CodigosInversionTO(String cod, String des)
  {
    this.id_cod_inversion = cod;
    this.descripcion = des;
  }
  public String getDescripcion() {
    return this.descripcion;
  }

  public void setDescripcion(String descripcion) {
    this.descripcion = descripcion;
  }

  public String getId_cod_inversion() {
    return this.id_cod_inversion;
  }

  public void setId_cod_inversion(String id_cod_inversion) {
    this.id_cod_inversion = id_cod_inversion;
  }

  @Override
  public String toString()
  {
    return this.descripcion + " - " + this.id_cod_inversion;
  }
}
